
#ifndef _CONSULTATION_H_
#define _CONSULTATION_H_

#include "Doctor.h"
#include "Client.h"

class Consultation
{

public:
	Consultation();
	virtual ~Consultation();

	unsigned short getNumber();
	void setNumber(unsigned short number);
	float getPrice();
	void setPrice(float price);
	Doctor getDoctor();
	void setDoctor(Doctor doctor);
	Client getPacient();
	void setPacient(Client pacient);
	
	// I/O
    friend ostream & operator<< (ostream & os, const Consultation & consultation);
    friend istream & operator>> (istream & is, const Consultation & consultation);

private:
	unsigned short number;
	float price;
	Doctor doctor;
	Client pacient;

};
#endif // _CONSULTATION_H_
